#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "imagelabel.h"
#include <iostream>
#include <QLayout>
#include <algorithm>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0, QImage* image = 0);
    ~MainWindow();

    QImage* img;

protected:
    void resizeEvent(QResizeEvent* event);

private:
    Ui::MainWindow *ui;
    ImageLabel* imgLabel;
};

#endif // MAINWINDOW_H
